import axios from "axios";

const PREFIX = '/api/judge-service';

/**
 * 提交判题函数
 * @param data 请求数据
 * @returns 判题结果
 */
 export default async function judgeQuestion(data: any) {
    return axios.post(`${PREFIX}/judge/question`, data);
}
